package com.qf.java2201.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @date 2022/4/27
 * @desc
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class DoorExcelDto {

    @ExcelProperty("编号")
    private Integer id;

    @ExcelProperty(value = "名字")
    private String name;

    @ExcelProperty(value = "门店电话")
    private Integer tel;

    @ExcelProperty(value = "门店地址")
    private String addr;

    @ExcelProperty(value = "创建时间")
    @DateTimeFormat("yyyy-MM-dd")
    private Date createTime;


}
